package com.lyne.test.rabbit;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author lyne
 */
@Data
@Document("demo")
@AllArgsConstructor
@NoArgsConstructor
public class State {
    @Id
    private Long id;
    private String remark;
}
